/*
Scripted By Roguezor
Subclass Script
*/

#include "StdAfx.h"
#include "Setup.h"

#ifdef WIN32
#pragma warning(disable:4305)// warning C4305: 'argument' : truncation from 'double' to 'float'
#endif

class SCRIPT_DECL ProtoClass : public GossipScript
{
public:
    void GossipHello(Object * pObject, Player* Plr, bool AutoSend);
    void GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code);
    void GossipEnd(Object * pObject, Player* Plr);
	void Destroy()
	{
		delete this;
	}
};
void ProtoClass::GossipHello(Object * pObject, Player* Plr, bool AutoSend)
    {
	GossipMenu *Menu;
	objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 0, Plr);
Menu->AddItem(0, "Mage", 1);
Menu->AddItem(0, "Warlock", 2);
Menu->AddItem(0, "Warrior", 3);
Menu->AddItem(0, "Paladin", 4);
Menu->AddItem(0, "Shaman", 5);
Menu->AddItem(0, "Priest", 6);
Menu->AddItem(0, "Druid", 7);
Menu->AddItem(0, "Hunter", 8);

		if(AutoSend)
            Menu->SendTo(Plr);
    }

void ProtoClass::GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
    {
	Creature * pCreature = (pObject->GetTypeId()==TYPEID_UNIT)?((Creature*)pObject):NULL;
	if(pCreature==NULL)
		return;

        GossipMenu * Menu;
        switch(IntId)
        {
        case 0:
		GossipHello(pObject, Plr, true);
        break;

case 1:

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(10230);
			Plr->addSpell(25306);
			Plr->addSpell(28271);
			Plr->addSpell(27126);
			Plr->addSpell(30455);
			Plr->addSpell(30482);
			Plr->addSpell(1953);
			Plr->addSpell(12472);
			Plr->addSpell(27132);
			Plr->addSpell(10053);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 2: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(27209);
			Plr->addSpell(25309);
			Plr->addSpell(32231);
			Plr->addSpell(11713);
			Plr->addSpell(30908);
			Plr->addSpell(30912);
			Plr->addSpell(27220);
			Plr->addSpell(27260);
			Plr->addSpell(18223);
			Plr->addSpell(27243);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 3: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(25234);
			Plr->addSpell(2458);
			Plr->addSpell(2457);
			Plr->addSpell(11578);
			Plr->addSpell(12292);
			Plr->addSpell(12975);
			Plr->addSpell(30033);
			Plr->addSpell(25275);
			Plr->addSpell(2048);
			Plr->addSpell(2687);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 4: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(10293);
			Plr->addSpell(5589);
			Plr->addSpell(35395);
			Plr->addSpell(27158);
			Plr->addSpell(10329);
			Plr->addSpell(20217);
			Plr->addSpell(1020);
			Plr->addSpell(31884);
			Plr->addSpell(27154);
			Plr->addSpell(27180);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 5: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(10473);
			Plr->addSpell(10414);
			Plr->addSpell(25359);
			Plr->addSpell(10587);
			Plr->addSpell(10467);
			Plr->addSpell(25361);
			Plr->addSpell(25567);
			Plr->addSpell(15208);
			Plr->addSpell(25439);
			Plr->addSpell(2645);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 6:

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(15473);
			Plr->addSpell(25372);
			Plr->addSpell(25367);
			Plr->addSpell(10916);
			Plr->addSpell(33206);
			Plr->addSpell(25218);
			Plr->addSpell(25364);
			Plr->addSpell(25387);
			Plr->addSpell(2791);
			Plr->addSpell(27841);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 7: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(24858);
			Plr->addSpell(40120);
			Plr->addSpell(1066);
			Plr->addSpell(26990);
			Plr->addSpell(26987);
			Plr->addSpell(26984);
			Plr->addSpell(26989);
			Plr->addSpell(27012);
			Plr->addSpell(26993);
			Plr->addSpell(33831);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(27065,0,0,0);
Plr->removeSpell(5116,0,0,0);
Plr->removeSpell(14325,0,0,0);
Plr->removeSpell(34470,0,0,0);
Plr->removeSpell(13163,0,0,0);
Plr->removeSpell(27019,0,0,0);
Plr->removeSpell(36916,0,0,0);
Plr->removeSpell(14305,0,0,0);
Plr->removeSpell(13809,0,0,0);
Plr->removeSpell(19883,0,0,0);
        break;
		
		case 8: 

if(Plr->GetItemInterface()->GetItemCount(40044, false)>=1)
Plr->GetItemInterface()->RemoveItemAmt(40044, 1);

			Plr->addSpell(27065);
			Plr->addSpell(5116);
			Plr->addSpell(14325);
			Plr->addSpell(34470);
			Plr->addSpell(13163);
			Plr->addSpell(27019);
			Plr->addSpell(36916);
			Plr->addSpell(14305);
			Plr->addSpell(13809);
			Plr->addSpell(19883);

Plr->removeSpell(10230,0,0,0);
Plr->removeSpell(25306,0,0,0);
Plr->removeSpell(28271,0,0,0);
Plr->removeSpell(27126,0,0,0);
Plr->removeSpell(30455,0,0,0);
Plr->removeSpell(30482,0,0,0);
Plr->removeSpell(1953,0,0,0);
Plr->removeSpell(12472,0,0,0);
Plr->removeSpell(27132,0,0,0);
Plr->removeSpell(10053,0,0,0);

Plr->removeSpell(27209,0,0,0);
Plr->removeSpell(25309,0,0,0);
Plr->removeSpell(32231,0,0,0);
Plr->removeSpell(11713,0,0,0);
Plr->removeSpell(30908,0,0,0);
Plr->removeSpell(30912,0,0,0);
Plr->removeSpell(27220,0,0,0);
Plr->removeSpell(27260,0,0,0);
Plr->removeSpell(18223,0,0,0);
Plr->removeSpell(27243,0,0,0);

Plr->removeSpell(25234,0,0,0);
Plr->removeSpell(2458,0,0,0);
Plr->removeSpell(2457,0,0,0);
Plr->removeSpell(11578,0,0,0);
Plr->removeSpell(12292,0,0,0);
Plr->removeSpell(12975,0,0,0);
Plr->removeSpell(30033,0,0,0);
Plr->removeSpell(25275,0,0,0);
Plr->removeSpell(2048,0,0,0);
Plr->removeSpell(2687,0,0,0);

Plr->removeSpell(10293,0,0,0);
Plr->removeSpell(5589,0,0,0);
Plr->removeSpell(35395,0,0,0);
Plr->removeSpell(27158,0,0,0);
Plr->removeSpell(10329,0,0,0);
Plr->removeSpell(20217,0,0,0);
Plr->removeSpell(1020,0,0,0);
Plr->removeSpell(31884,0,0,0);
Plr->removeSpell(27154,0,0,0);
Plr->removeSpell(27180,0,0,0);

Plr->removeSpell(10473,0,0,0);
Plr->removeSpell(10414,0,0,0);
Plr->removeSpell(25359,0,0,0);
Plr->removeSpell(10587,0,0,0);
Plr->removeSpell(10467,0,0,0);
Plr->removeSpell(25361,0,0,0);
Plr->removeSpell(25567,0,0,0);
Plr->removeSpell(15208,0,0,0);
Plr->removeSpell(25439,0,0,0);
Plr->removeSpell(2645,0,0,0);

Plr->removeSpell(15473,0,0,0);
Plr->removeSpell(25372,0,0,0);
Plr->removeSpell(25367,0,0,0);
Plr->removeSpell(10916,0,0,0);
Plr->removeSpell(33206,0,0,0);
Plr->removeSpell(25218,0,0,0);
Plr->removeSpell(25364,0,0,0);
Plr->removeSpell(25387,0,0,0);
Plr->removeSpell(2791,0,0,0);
Plr->removeSpell(27841,0,0,0);

Plr->removeSpell(24858,0,0,0);
Plr->removeSpell(40120,0,0,0);
Plr->removeSpell(1066,0,0,0);
Plr->removeSpell(26990,0,0,0);
Plr->removeSpell(26987,0,0,0);
Plr->removeSpell(26984,0,0,0);
Plr->removeSpell(26989,0,0,0);
Plr->removeSpell(27012,0,0,0);
Plr->removeSpell(26993,0,0,0);
Plr->removeSpell(33831,0,0,0);
        break;
 }
 }

void ProtoClass::GossipEnd(Object * pObject, Player* Plr)
{
GossipEnd(pObject, Plr);
}

void SetupProtoClass(ScriptMgr * mgr)
{
	GossipScript * gs = (GossipScript*) new ProtoClass();
    mgr->register_gossip_script(103455, gs);
}
